import request from '@/axios'
import { InterLangType } from './types'

//删除国际化配置
export const delApi = (params) => {
  return request.delete({ url: '/dbms-server/base/interlang/delete', params })
}

export const listApi = (): Promise<IResponse<InterLangType[]>> => {
  return request.get({ url: '/dbms-server/base/interlang/list' })
}
